import request from "@/utils/request";

export function listData() {
  return request({
    url: `/home`,
    method: "get"
  });
}

export function getUserInfo() {
  return request({
    url: "/system-set/self/info",
    method: "get"
  });
}

export function postUserInfo(data) {
  return request({
    url: "/system-set/self/info",
    method: "put",
    data
  });
}
